<!DOCTYPE html>
<html lang="zh" >
@/**
@ * 本页面所用的模板变量
@ * title          :  页面的标题
@ * layoutContent  :  页面的body的容
@ * js             :  业务所需要的js，为数组
@ * css            :  业务所需要的css，为数组
@ * bodyAttr       :  body用到的属性
@ **/
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>${title!"DsAdmin"}</title>
    <link href="/favicon.ico" rel="icon" type="image/x-icon"/>
    @/* 通用cs */
    <link rel="stylesheet" href="/component/pear/css/pear.css"/>

    @/* 业务css */
    @if(isNotEmpty(css)){
        @for(item in css){
            <link rel="stylesheet" href="${item}"/>
        @}
    @}

    @/* 通用js */
    <script src="/ds/js/common/dsAdmin.js"></script>
    <script src="/component/layui/layui.js"></script>
    <script src="/component/pear/pear.js"></script>
</head>

@/* 正文 即body内容 */
<body ${bodyAttr!}>
    ${layoutContent}
</body>

@ /** 业务js */
@if(isNotEmpty(js)){
    @for(item in js){
    <script src="${item}"></script>
    @}
@}
</html>